
namespace ZR.Model.ProdManage
{
    /// <summary>
    /// 二级包装明细
    /// </summary>
    [SugarTable("prod_two_pack_detail")]
    public class ProdTwoPackDetail
    {
        /// <summary>
        /// 明细Id 
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = false, ColumnName = "detail_id")]
        public string DetailId { get; set; }

        /// <summary>
        /// 二级装箱id 
        /// </summary>
        [SugarColumn(ColumnName = "two_pack_id")]
        public string TwoPackId { get; set; }

        /// <summary>
        /// 装箱时间 
        /// </summary>
        [SugarColumn(ColumnName = "pack_time")]
        public DateTime? PackTime { get; set; }

        /// <summary>
        /// 装箱人 
        /// </summary>
        [SugarColumn(ColumnName = "pack_user_id")]
        public long? PackUserId { get; set; }

        /// <summary>
        /// 明细状态（0临时，1正常，9取消） 
        /// </summary>
        [SugarColumn(ColumnName = "item_status")]
        public string ItemStatus { get; set; }

        /// <summary>
        /// VIN码 
        /// </summary>
        public string Vin { get; set; }

        /// <summary>
        /// 装箱类型(0一级箱,1零件) 
        /// </summary>
        [SugarColumn(ColumnName = "pack_type")]
        public string PackType { get; set; }

        /// <summary>
        /// 物料号 
        /// </summary>
        [SugarColumn(ColumnName = "part_code")]
        public string PartCode { get; set; }

        /// <summary>
        /// 供应商 
        /// </summary>
        [SugarColumn(ColumnName = "supplier_code")]
        public string SupplierCode { get; set; }

        /// <summary>
        /// 包装数量 
        /// </summary>
        [SugarColumn(ColumnName = "pack_num")]
        public decimal? PackNum { get; set; }

        /// <summary>
        /// 一级包装编号 
        /// </summary>
        [SugarColumn(ColumnName = "one_pack_no")]
        public string OnePackNo { get; set; }

        /// <summary>
        /// 关联组 
        /// </summary>
        [SugarColumn(ColumnName = "rela_group_id")]
        public int? RelaGroupId { get; set; }

        /// <summary>
        /// 明细描述 
        /// </summary>
        [SugarColumn(ColumnName = "part_desc")]
        public string PartDesc { get; set; }

    }
}